package my.cms.com;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class BankuaiController {
@RequestMapping(value="/bankuai",method=RequestMethod.GET)
public String bankuai(Model m){
	
	System.out.println("233");
	int a=3;
		m.addAttribute("aa", a);
	return "/manage/bankuai";
	
	
}
@RequestMapping(value="/sous",method=RequestMethod.GET)
public String sousuo(@RequestParam("name")String name, Model m){
	String n=name;
	m.addAttribute("name", n);
	return "/index";
}
}
